//引入封装的请求服务
import { POST } from '@/services/request.js';

// 导出接口
const base = {
    categoryinfo(data = {}) {
        return POST({
            url: '/product/category/info',
            params: data
        })
    },
    collection(data = {}) {
        return POST({
            url: '/product/category/collection',
            params: data
        })
    },
    categoryindex(data = {}) {
        return POST({
            url: '/product/category/index',
            params: data
        })
    },
    categorysearch(data={}){
        return POST({
            url:'/product/category/search',
            params:data
        })
    }
}

export default base